<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{$title}</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link type="text/css" rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.5.4/css/sm.min.css">
<link type="text/css" rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.5.4/css/sm-extend.min.css">
<link type="text/css" rel="stylesheet" href="__PUBLIC__/user/new/css/user.css?v=1">
<link type="text/css" rel="stylesheet" href="__PUBLIC__/user/new/css/shop.css?v=1">
<link href="__PUBLIC__/user/new/css/font-awesome.min.css" rel="stylesheet">
<script type='text/javascript' src='http://g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
<style>
.hide{display:none}
</style>
</head>
<body>
<?php
if(!$uid){
$uid = I('get.uid');
}
?>
  <div class="page theme-diy" id="page-index">
    <script type="text/javascript">
	  $.alert('赶快邀请身边小伙伴加入吧,您可长期享受粉丝共30%额外奖励!!!!');
	</script>

    <!--div class="bar bar-nav yz_head" style="height: auto;">
      <div class="yz_head_top">
        <div class="yz_bor">
          <a class="icon icon-me pull-right open-panel _a" data-panel=".panel-left"></a>
          <a class="logo pull-left">微小豆</a>
        </div>
          </div>
      </div-->
      <?php if(session('user')){?>
      <header class="bar bar-nav">
    <a class="icon icon-left pull-left " href="/"></a>
      <h1 class="title">我要收徒</h1>
      </header>
      <?php } ?>
<div class="content" >
        <div class="thumb-hidden" style="width:0px;height:0px; overflow:hidden;"><img src="{$user['avatar']}" /></div>
  <div class="yaoqing_bar wp">
     <div class="yaoqing_top_bar" style="width:90%;margin:0px auto;">
        <div class="left tx_bar">
           <span class="touxiang" style="background-image:url('{$user['avatar']}')"></span>
        </div>
        <div class="left info_bar">
           <?php if($user['nickname']){?>
           我是<i class="red"><?php echo $user['nickname']; ?></i>,
           <?php }?>
           我正在玩转发赚钱 <br />邀请你加入,先发￥{:C("REG_MONEY")}意思意思!
        </div>
     </div>
     <div class="clear"></div>
     <!--<div class="hongbao_bar" style="height:8rem;">
       <div class="jiage">￥{:C("REG_MONEY")}</div>
     </div>-->
     <P style="text-align: center;">立刻扫码领取￥{:C("REG_MONEY")}现金奖励,满{:C("TIXIAN_MONEY")}提现</P>
    <div class="code_bar" style="width:50%">
      <img src="{:U("/User/qrcode")}?url={:U("/User/reg/".$uid,'','',TRUE)}&tx={$user['avatar']}" alt="">
      <a href="{:U("/User/reg/".$uid,'','',C("SITE_URL"))}"><div class="but">长按二维码或点此按钮</div></a>
      <div style="height:2.4rem;"></div>
    </div> 
  </div>
</div>
<?php if(session('user')){?>
<div class="bar bar-tab fx_button">
<a class="fx_but external" href="javascript:fx_but_show()" id="fx_but" external>
<div class="left" style="margin-left:10px;"><span class="fa fa-share-alt icon2"></span></div>
<div class="left" style=" color:#000">立刻分享</div>
</a>
<div id="tcc" onclick="javascript:tcc_hide()">
</div>
</div>
<?php } ?>
</div>
<include file="./foot" />
